package cn.org.timespace.easyframe.model.permission;

import java.util.HashSet;
import java.util.Set;


/**
 * EfControlPoint entity. @author MyEclipse Persistence Tools
 */

public class EfControlPoint  implements java.io.Serializable {


    // Fields    

     private String controlPointId;
     private EfMenu efMenu;
     private String controlPointCode;
     private String controlPointName;
     private String dicIsValid;
     private Set efRoleControlPoints = new HashSet(0);


    // Constructors

    /** default constructor */
    public EfControlPoint() {
    }

	/** minimal constructor */
    public EfControlPoint(String controlPointId, String controlPointCode, String controlPointName) {
        this.controlPointId = controlPointId;
        this.controlPointCode = controlPointCode;
        this.controlPointName = controlPointName;
    }
    
    /** full constructor */
    public EfControlPoint(String controlPointId, EfMenu efMenu, String controlPointCode, String controlPointName, Set efRoleControlPoints) {
        this.controlPointId = controlPointId;
        this.efMenu = efMenu;
        this.controlPointCode = controlPointCode;
        this.controlPointName = controlPointName;
        this.efRoleControlPoints = efRoleControlPoints;
    }

   
    // Property accessors

    public String getControlPointId() {
        return this.controlPointId;
    }
    
    public void setControlPointId(String controlPointId) {
        this.controlPointId = controlPointId;
    }

    public EfMenu getEfMenu() {
        return this.efMenu;
    }
    
    public void setEfMenu(EfMenu efMenu) {
        this.efMenu = efMenu;
    }

    public String getControlPointCode() {
        return this.controlPointCode;
    }
    
    public void setControlPointCode(String controlPointCode) {
        this.controlPointCode = controlPointCode;
    }

    public String getControlPointName() {
        return this.controlPointName;
    }
    
    public void setControlPointName(String controlPointName) {
        this.controlPointName = controlPointName;
    }

    public Set getEfRoleControlPoints() {
        return this.efRoleControlPoints;
    }
    
    public void setEfRoleControlPoints(Set efRoleControlPoints) {
        this.efRoleControlPoints = efRoleControlPoints;
    }

	public String getDicIsValid() {
		return dicIsValid;
	}

	public void setDicIsValid(String dicIsValid) {
		this.dicIsValid = dicIsValid;
	}
   
}